package com.ulic.customerManApplication.usermodule.bo;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;


@Entity
@Table(name = "T_GYW_ROLE")
@SequenceGenerator(name="role_seq",sequenceName="T_GYW_ROLE_ID")
public class Role {

	
	private int oid;
	
	private String code;
	
	private String name;

	@Id
	@GeneratedValue(strategy=GenerationType.SEQUENCE,generator="role_seq")
	public int getOid() {
		return oid;
	}

	public void setOid(int oid) {
		this.oid = oid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
	
	
}
